<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="../../lib/ming_mock/ming_router.js"></script>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .tanmu{
            top: 10vw;
            position: absolute;
            height: 50vw;
        }
    </style>
    <title>Document</title>
</head>
<body>
<div class="tanmu">
    <ming-tanmu></ming-tanmu>
</div>
</body>
</html>

<script>

 window.onload=function (){
     document.querySelector("ming-tanmu").wrapWebComponent.pushMsg(
         {
             text:`<img
                        width="25vw"
                        style="display: inline-block;border-radius: 10vw"
                        src="https://langjie.oss-cn-hangzhou.aliyuncs.com/space/root/project/viphelp/member_sign_group_icon.png" >
                             <span style="font-size:4vw; display: inline-block; transform: translateY(-2vw)"> 元宝分 </span>
                        `,
             color:"rgb(102,102,102)"
         }
     );
 }

</script>


<script type="module">
    import MingTanmu from "./ming-tanmu.js";
    MingRouter.registWebComponent(MingTanmu);
</script>